package com.ganbo.ms.pool;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 需要池化的对象
 *
 * @author: GanBo
 * @date: 2023/5/4 18:34
 */

@AllArgsConstructor
@NoArgsConstructor
@Data
public class TestObject {

    private String name;
    private boolean isActive;


    public void destroy() {
        System.out.println("TestObject 对象销毁.");
    }
}

